package com.gamex.findit.model;

import java.io.Serializable;
import java.util.Date;

import org.apache.ibatis.type.Alias;

@Alias("member")
public class Member extends BaseModel implements Serializable{
	private static final long serialVersionUID = 3845928529685416432L;
	
	private String userId;
	private String userPass;
	private String userCharacter;
	private Date regDate;
	private Date modDate;
	private String State;
	private String userNick;
	private String userRole;
	private int score;
	private int level;
	private int point;
	private int coin;
	private String userDevice;
	
	// 퀄리 +, - 문자열로 사용
	private String operation;
	
	public Member(){};
	
	public String getOperation() {
		return operation;
	}

	public void setOperation(String operation) {
		this.operation = operation;
	}
	
	public String getUserDevice() {
		return userDevice;
	}

	public void setUserDevice(String userDevice) {
		this.userDevice = userDevice;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	public int getPoint() {
		return point;
	}
	public void setPoint(int point) {
		this.point = point;
	}
	public int getCoin() {
		return coin;
	}
	public void setCoin(int coin) {
		this.coin = coin;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserPass() {
		return userPass;
	}
	public void setUserPass(String userPass) {
		this.userPass = userPass;
	}
	
	public String getUserCharacter() {
		return userCharacter;
	}
	public void setUserCharacter(String userCharacter) {
		this.userCharacter = userCharacter;
	}
	public Date getRegDate() {
		return regDate;
	}
	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}
	public Date getModDate() {
		return modDate;
	}
	public void setModDate(Date modDate) {
		this.modDate = modDate;
	}
	public String getState() {
		return State;
	}
	public void setState(String state) {
		State = state;
	}
	public String getUserNick() {
		return userNick;
	}
	public void setUserNick(String userNick) {
		this.userNick = userNick;
	}
	public String getUserRole() {
		return userRole;
	}

	public void setUserRole(String userRole) {
		this.userRole = userRole;
	}

	@Override
	public String toString() {
		return "Member [userId=" + userId + ", userPass=" + userPass
				+ ", userCharacter=" + userCharacter + ", regDate=" + regDate
				+ ", modDate=" + modDate + ", State=" + State + ", userNick="
				+ userNick + ", userRole=" + userRole + ", score=" + score
				+ ", level=" + level + ", point=" + point + ", coin=" + coin
				+ "userDevice=" +userDevice+ "]";
	}
	
	

}
